PAM authentication for non-admin passwordless accounts

Hi,

I set up gitosis on my Snow Leopard server. And then I updated to Lion Server. The problem is that when you set up gitosis you create a passwordless account for git (as per many linux/osx guides). Now everything was working fine in Leopard/Snow Leopard Server. But with Lion apparently it's not possible to access ssh with passwordless accounts?


I got this error in /var/log/secure.conf:


fatal: Access denied for user git by PAM account configuration


Now, after struggling for a while I just made the "git" user an "admin" ("allow user to administer this server"). Because apparently this allows it to be "passwordless". Is there any other _clener_ solution?


Regards,


~C

Mac OS X (10.7), Server

Posted on Jul 25, 2011 9:25 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

PAM authentication for non-admin passwordless accounts

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.